<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>渐变</title>
    <style>
        .box {
            width: 300px;
            height: 120px;
            background: linear-gradient(#ccf6c8, #fafcc2, #f6d6ad, #f9c0c0);
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>